public class Condition {

    private String key;

    private String value;

    private String operator;


    public Condition() {}

    public Condition(String key, String value, String operator) {
        this.key = key;
        this.value = value;
        this.operator = operator;
    }

    //getter方法
    public String getKey() {
        return key;
    }
    public String getValue() {
        return value;
    }
    public String getOperator() {
        return operator;
    }

    //setter方法
    public void setKey(String key) {
        this.key = key;
    }
    public void setValue(String value) {
        this.value = value;
    }
    public void setOperator(String operator) {
        this.operator = operator;
    }

    @Override
    public String toString() {
        return "Condition [key=" + key + ", value=" + value + ", operator=" + operator + "]";
    }
}